service check-config
Syntax
[ no ] service check-config [ auto | fileName fileName | running-configuration | running-configuration recover | auto-recover ]
Release Information
Command introduced in JunosE Release 9.3.0.
auto-recover keyword added in
JunosE Release 10.3.0.
Description
Detects corruption of running configuration on both primary and standby SRP due to fatal duplicate key error. In addition, the command detects corruption of CNF files on the primary SRP for invalid CFG types and invalid information. If the Cyclic Redundancy Check (CRC) value is set for a configuration file, this command calculates and validates the CRC value to ensure that there are no data errors. If the configuration file has errors, the command creates a system log identifying the error.
The no version restores the default action, manual detection.
Options
- auto—Checks the running configuration at regular intervals; cannot be used for CNF files.
- fileName—Name of an existing configuration file (.cnf) that needs to be validated for corruption
- running–configuration—Specifies that the running configuration needs to be validated for corruption
- running-configuration recover—Recovers the corrupted configuration files in the running configuration
- auto-recover—Specifies that the running configuration needs to be validated for corruption and the corrupted files need to be recovered
Mode
Global Configuration
Hide Navigation Pane
Show Navigation Pane
SHA1